<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>车辆详情</title>
        <link href="/zhenze/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="/zhenze/Public/admin/js/jquery.js"></script>
    </head>

    <body style="min-width: 800px;">

        <div class="formbody">
			<ul class="seachform" style="float: left;">
				<li><label>用户信息：</label></li>
			</ul>
            <table class="tablelist"> 
                <tbody>    
                    <tr>
                        <td>预约时间</td>
                        <td><?php if($data['time'] != 0){echo date('Y-m-d H:i:s',$data['time']);}?></td>  
                    </tr>  
                    <tr> 		
                        <td width="200px;">用户名</td>
                        <td><?php echo ($data["name"]); ?></td>
                    </tr>   
                    <tr> 			
                        <td>联系方式</td>
                        <td><?php echo ($data["mobile"]); ?></td>  
                    </tr>   
                    <tr> 			
                        <td>身份证</td>
                        <td><?php echo ($data["idcard"]); ?></td>  
                    </tr>   
                </tbody>  
            </table>

            <ul class="seachform" style="float: left;">
				<li><label>代理人信息：</label></li>
			</ul>
            <table class="tablelist"> 
                <tbody>  
                    <tr> 			
                        <td width="200px;">代理人</td>
                        <td><?php echo ($data["agent"]["username"]); ?></td>  
                    </tr>      
                </tbody>  
            </table>
            
			<ul class="seachform" style="float: left;">
				<li><label>学校信息：</label></li>
			</ul>
            <table class="tablelist"> 
                <tr> 			
                    <td width="200px;">学校名</td>
                    <td><?php echo ($data["school"]["name"]); ?></td>  
                </tr>    
                <tr> 			
                    <td>区域</td>
                    <td><?php echo ($data["school"]["area"]); ?></td>  
                </tr>    
                <tr> 			
                    <td>地址</td>
                    <td><?php echo ($data["school"]["address"]); ?></td>  
                </tr>      
                </tbody>
            </table>

			<ul class="seachform" style="float: left;">
				<li><label>卡信息：</label></li>
			</ul>
			<table class="tablelist"> 
                <tbody>  
                    <tr> 			
                        <td width="200px;">卡号</td>
                        <td><?php echo ($data["new_mobile"]); ?></td>  
                    </tr>   
                    <tr>
                        <td>开卡时间</td>
                        <td><?php if($data['open_time'] != 0){echo date('Y-m-d H:i:s',$data['open_time']);}?></td>  
                    </tr>  
                    <tr> 			
                        <td>套餐</td>
                        <td><?php echo ($data["tel"]["set_title"]); ?></td>  
                    </tr>   
                    <tr> 			
                        <td>套餐详情</td>
                        <td><?php echo ($data["tel"]["set_content"]); ?></td>  
                    </tr>   
                    <tr> 			
                        <td>套餐价格</td>
                        <td><?php echo ($data["tel"]["set_price"]); ?></td>  
                    </tr>   
					<tr> 			
                        <td>预约状态</td>
                        <td style="color:#f00;"><?= D('Reserve')->status[$data['status']]?></td>  
                    </tr> 
                </tbody>  
            </table>

        </div>
        <script type="text/javascript">
            $('.tablelist tbody td:odd').addclass('odd');
        </script>
    </body>

</html>